//package com.dotflat.satistics.vo.area;
//
//import lombok.Data;
//
//import java.util.Map;
//
//import static com.matt.foundation.function.TimeComputeFunction.TIME_NAME;
//
///**
// * *******************************
// * Created by Tim.
// * form com.matt
// * on 2018/8/6
// * *******************************
// */
//@Data
//public class NurseryCourseSituationVo {
//    private String timeName;
//    private Integer clienteleCount;
//    private Integer teacherCount;
//
//    public static NurseryCourseSituationVo of(Map map){
//        NurseryCourseSituationVo vo = new NurseryCourseSituationVo();
//        vo.setTimeName(map.get(TIME_NAME).toString());
//        vo.setClienteleCount(map.get("clienteleCount") == null ? 0 : Integer.valueOf(map.get("clienteleCount").toString()));
//        vo.setTeacherCount(map.get("teacherCount") == null ? 0 : Integer.valueOf(map.get("teacherCount").toString()));
//        return vo;
//    }
//}
